---
title: "Get Chat Satisfaction"
api: "GET https://api-v2.opencopilot.so/backend/reports/{orgId}/chats/satisfaction"
description: "Retrieve the average satisfaction score for chat sessions"
---

This endpoint returns the average satisfaction score for chat sessions based on the provided query parameters.

## Authentication

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication
</ParamField>

### Path Parameters

<ParamField path="orgId" type="string" required>
  The ID of the organization to filter the results
</ParamField>

### Query Parameters

<ParamField query="startDate" type="string" format="date-time">
  The start date for the date range filter (ISO 8601 format)
</ParamField>

<ParamField query="endDate" type="string" format="date-time">
  The end date for the date range filter (ISO 8601 format)
</ParamField>

### Response

<ResponseField name="average_satisfaction" type="number">
  The average satisfaction score for the chat sessions
</ResponseField>

<RequestExample>

```bash Example Request
curl --location --request GET 'https://api-v2.opencopilot.so/backend/reports/chats/satisfaction?startDate=2023-01-01T00:00:00Z&endDate=2023-12-31T23:59:59Z'
```

</RequestExample>

<ResponseExample>

```json Response
{
  "average_satisfaction": 4.5
}
```

</ResponseExample>